#include<stdio.h>

int main(int argc,char *argv[]){
    if(argc<3)
        return 1;
    char *source=argv[1],*target=argv[2],ch;
    FILE *fp1,*fp2;
    if((fp1=fopen(source,"r"))==NULL)
        printf("File doesn't exist!\n");
    if((fp2=fopen(target,"w"))==NULL)
        printf("File can't be created!\n");
    while((ch=fgetc(fp1))!=EOF)
        fputc(ch,fp2);
    fclose(fp1);
    fclose(fp2);
    return 0;
}
